/*
 * Unidad de punto, ver si lo remuevo o lo adapto totalmente...
 *
 * This is part of the game The Rooms
 * Copyright (C) 2010  Elvio Sarquis
 *
 * Get the GNU GPL v3 in http://www.gnu.org/licenses/
 */

package utils;

/**
 *
 * @author dask
 */
public class Point {

    private int x, y;

    public Point(int X, int Y){

        x=X;
        y=Y;
    }

    public Point(){
        
        x=0;
        y=0;
    }

    public int x(){
        return x;
    }

    public int y(){
        return y;
    }

    public void x(int X){
        x=X;
    }

    public void y(int Y){
        y=Y;
    }

    public void set(int X, int Y){
        x=X;
        y=Y;
    }
}
